export default {
    namespaced: true,
    state: {
      uid: 0,
      stuid: '123456789',
      nickName: 'zhang',
      portrait: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',
      
    },
    mutations: {
      updateId (state, uid) {
        state.uid = uid
      },
      updateName (state, stuid) {
        state.stuid = stuid
      },
      updateUser1(state, one){
          console.log("vuex: updateUser1", one)
      }

    }
  }
  